package On_class.L0408;

import java.io.*;

public class BufferedReaderWriterTest1 {
    public static void main(String[] args) throws IOException {
        Reader in=new FileReader("copy.rar");

        BufferedReader br=new BufferedReader(in);

        BufferedWriter bw=new BufferedWriter(new FileWriter("D:\\copy1.rar"));
        String line;
        while((line=br.readLine())!=null){
            bw.write(line);

            bw.newLine();
        }
        bw.close();
        br.close();
    }
}
